package com.qingge.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 */
@Getter
@Setter
  @ApiModel(value = "Announcements对象", description = "")
public class Announcements implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("公告标题.")
      private String name;

      @ApiModelProperty("优先级")
      private Integer priority;

      @ApiModelProperty("公告内容.")
      private String content;

      @ApiModelProperty("发布者")
      private String createName;

      @ApiModelProperty("发布时间")
      private String createTime;

      @ApiModelProperty("修改者")
      private String updateName;

      @ApiModelProperty("修改时间")
      private String updateTime;

      @ApiModelProperty("是否发布")
      private Integer type;


}
